package net.begincode.SSO.mapper;

import net.begincode.SSO.bean.SsoUser;

public interface UserMapper {
	
	//添加用户
	void addUser(SsoUser user);
	//通过openid查找用户
	SsoUser findUserByOpenId(String openId);
	//通过邮箱查找用户
	SsoUser findUserByEmail(String email);
	
	
}
